package com.ebase.core.page;

public class PageRequest extends Pageable {

    protected Sort sort;

    public PageRequest() {
        super();
    }

    public PageRequest(int pageSize, int pageNumber, Sort sort) {
        super();
        this.pageSize = pageSize;
        this.pageNumber = pageNumber;
        this.sort = sort;
    }

    public Sort getSort() {
        return sort;
    }

    public void setSort(Sort sort) {
        this.sort = sort;
    }
}
